﻿<Window x:Class="Deepforest.WPF.Controls.WPGDemoWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:wpg="clr-namespace:Deepforest.WPF.Controls"	
		
    Title="WPF Property Grid - By Deepforest"
		Background="{DynamicResource ContentBackgroundBrush}"
		Width="400"
		SizeToContent="Height">

	<StackPanel
		Width="300"
		Height="600"
		HorizontalAlignment="Center">

		<wpg:PropertyGrid
			Height="550"
			Instance="{Binding ElementName=button}" />

		<Button x:Name="button"
						Margin="0,8,0,8"
						Width="80"
						Height="30"
						Content="Exit"
						HorizontalAlignment="Right"
						Click="buttonExit_Click" />

	</StackPanel>
</Window>
